package cn.tedu.api;
/**本类用于实现首字母大写，剩余小写*/
import java.util.Scanner;

public class TestStringDemo {
    public static void main(String[] args) {
        System.out.println("请输入");
        Scanner scanner = new Scanner(System.in);
        String s = scanner.nextLine();
        String up = s.substring(0,1).toUpperCase();
        String lo = s.substring(1).toLowerCase();
        System.out.println(up+lo);
    }
}
